package org.gd.httprequests;

import org.gd.httprequests.lib.Util;

import java.net.URL;

public class App {

    public static void main(String...a) throws Exception {

        URL url = new URL("http://10.1.108.195:8081/p48/service/regpay/GetRegInfobyClid.php");
        String xml =
                "<?xml version='1.0' encoding='UTF-8' standalone='yes'?>" +
                "<request>" +
                "<id Bank='AB' Clid='49188363'/>" +
                "</request>";

        String result = new Util().sendXmlRequest(url.toString(), xml);
        System.out.println(result);
    }
}
